package com.javaProject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName admin
 */
@TableName(value ="admin")
@Data
public class Admin implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "管理员id")
    private Integer adminId;

    /**
     * 
     */
    @Schema(description = "管理员账号")
    private String username;

    /**
     * 
     */
    @Schema(description = "管理员密码")
    private String password;

    /**
     * 
     */
    @Schema(description = "设置开放时间")
    private Date openingTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}